export interface DeepSeekMessage {
  role: 'system' | 'user' | 'assistant';
  content: string;
}

export interface DeepSeekRequest {
  model: string;
  messages: DeepSeekMessage[];
  temperature?: number;
  max_tokens?: number;
  stream?: boolean;
}

export interface DeepSeekResponse {
  choices: Array<{
    message: {
      content: string;
    };
  }>;
}

export interface DeepSeekInterpretationRequest {
  guaName: string;
  guaCi: string;
  xiangCi: string;
  changingYao?: number[];
  userQuestion?: string;
}

export interface DeepSeekInterpretationResult {
  interpretation: string;
  advice?: string;
  meaning?: string;
}